package com.telit.firecommand.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;


/**
 * 叙简用户DTO
 *
 * @author yuezhuang
 * @date 2022-10-25
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(value = "XjUserDTO", description = "叙简用户DTO")
public class XjUserDTO implements Serializable {

    private static final long serialVersionUID = -1L;

    @ApiModelProperty(value = "ID", required = true)
    private Long id;

    @ApiModelProperty(value = "创建时间", required = true)
    private Date createdAt;

    @ApiModelProperty(value = "创建人", required = true)
    private Long createdBy;

    @ApiModelProperty(value = "修改时间", required = true)
    private Date updatedAt;

    @ApiModelProperty(value = "修改人", required = true)
    private Long updatedBy;

    @ApiModelProperty(value = "逻辑删除标记", required = true, allowableValues = "true,false", hidden = true)
    private boolean deleted;

    @ApiModelProperty(value = "版本号", required = true)
    private Long version;

    @ApiModelProperty(value = "统一平台用户id")
    private Long userId;

    @ApiModelProperty(value = "统一平台用户名称")
    private String userName;

    @ApiModelProperty(value = "叙简用户名称")
    private String xjUsername;

    @ApiModelProperty(value = "叙简用户密码")
    private String xjPassword;

    @ApiModelProperty(value = "状态：0-正常 1-冻结")
    private Integer status;

    @ApiModelProperty(value = "类型：1-web 2-app")
    private Integer type;

    @ApiModelProperty(value = "叙简设备呼号")
    private String xjMemTel;

    @ApiModelProperty(value = "叙简设备名称")
    private String xjMemName;

}
